package com.voute.Api;

import com.voute.Model.Bean.CommentsBean;

import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;
import rx.Observable;

/**
 * 获取评论列表
 * Created by liucxu on 2017/3/7.
 */

public interface CommentsService {
    @GET("v1/feeds/{fid}/comments/latest")
    Observable<CommentsBean>  getLastedComments(@Path("fid") String fid, @Query("anchor") String anchor);

    @GET("v1/feeds/{fid}/comments/hot")
    Observable<CommentsBean>  getHotestComments(@Path("fid") String fid, @Query("page") String page);
}
